package com.dt.app.modules.product.vo;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

import com.dt.app.modules.base.entites.PageEntity;
/**
 * <p>
 * 
 * </p>
 *
 * @author 鸿源塔基
 * @since 2024-03-05
 */
@Data
@NoArgsConstructor
@ApiModel(value="Category对象", description="")
public class CategoryBean extends PageEntity implements Serializable {

    private static final long serialVersionUID=198895405334343L;

    @ApiModelProperty(value = "产品种类")
    private Integer categoryId;

    @ApiModelProperty(value = "企业")
    private Integer companyId;

    @ApiModelProperty(value = "父id")
    private Integer parentId;
    private String parentName;

    @ApiModelProperty(value = "名称")
    private String cimg;

    @ApiModelProperty(value = "名称")
    private String cname;

    @ApiModelProperty(value = "编码")
    private String cno;

    @ApiModelProperty(value = "拼音")
    private String pinyin;

    @ApiModelProperty(value = "内容")
    private String msg;

    @ApiModelProperty(value = "排序")
    private Integer seq;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "路径名称")
    private String pathName;

    @ApiModelProperty(value = "子节点集合")
    private List<CategoryBean> children = new ArrayList<>();

    private List<ProductBean> products=null;
}
